package com.jk.api;

import com.jk.po.HotelPO;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

@RequestMapping("HotelService")
@ResponseBody
public interface HotelServiceApi {

    /**
     * @author 段卓帆
     * @date 2021/6/30 11:26
     * @return 查询酒店信息
     */
    @GetMapping("queryHotel")
    List<HotelPO> queryHotel();

    /**
     * @author 段卓帆
     * @date 2021/6/30 14:501
     * @return 查看酒店详情
     */
    @PostMapping("queryOrderById/{id}")
    HotelPO queryHotelById(@PathVariable("id") Integer id);



}
